<div id="app">
</div>
<script src="https://unpkg.com/vue@next"></script>

<script>
  const HelloWorld = {
    template: `
      <div class="hello">
        <h1>{{ msg }}</h1>
      </div>
    `,
    props: { msg: String }
  }

  const App = {
    components: { HelloWorld },
    template: `
      <p>hello</p>
      <HelloWorld msg="Welcome to Your Vue.js App"/>
    `
  }
  Vue.createApp(App).mount('#app')
</script>